//
//  CollectionViewCell2.swift
//  ABC
//
//  Created by hubin on 2025/5/31.
//

import UIKit

class CollectionViewCell2: UICollectionViewCell {
    private lazy var questionLbl:UILabel = {
        let lbl = UILabel()
        lbl.font = UIFont.boldSystemFont(ofSize: 18)
        lbl.numberOfLines = 0
        lbl.text = "akgfhakjgflkgaslfagslfsajglkd"
        lbl.textColor = .black
        return lbl
    }()
    
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.backgroundColor = .white
        contentView.addSubview(questionLbl)
        questionLbl.frame = CGRect(x: 10, y: 5, width: frame.size.width - 20, height: frame.size.height - 10)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
